some clean ups...
clean up and change the unify the output format for 1D and 3D
output the numerator and denorminater separately for event-by-event calculations
denorminator should be spectra^2
output single event friendly format