Fixed BUGS JM130302 JM 130303
This is now python 74b5.

Two bug fixes for photon generation (JM 130302, JM 130303).

NSH's bug fixes for log_spec_tot.