fix undefined w in load_MandE_flux, fixes #19

I put the w loop as the outer most loop as that was what was being done on the other similar computations

Running test suite now.