magnetic harmonic module changed to fit comsol values