MAGIC variance reduction

I added the MAGIC variance reduction technique to variancereduction.py. @makeclean, you should review the method. Tests were also added.

Theory manual addition still needed.

issue #344
In which case I would like a test which asserts "regular" operator where all the flux errors are below tolerance.