failtest now tries for negative values. Added a function which makes photon_count spectrum into a spectrum of power. and other changes...
hejsan