Added comments, --phase, --noplot, DEBUG options to MagFitting.py