simplified the way MAGIC ww are calculated from fluxes and supplied ww
adding files for magic tests
added 3 tests for magic iteration_0
added test for MAGIC iteration 1