initial try at monte carlo. add_noise_to_cube.pro bug fix, although Adam has generated a better version by now
routine to extract spectra