1) Compile gen_mh_coptim.c with
 >> mex gen_mh_coptim.c
in MATLAB

or, if not feasible on you computer, set the function handle
'wavefunc' on L34 in mpdecomp_ga_2d.m by

  wavefunc = @gen_mh;

instead of
 
  wavefunc = @gen_mh_coptim;

2) Launch bench.m inside Matlab (it uses cell programming)
