minor fix to ipmag.demag_magic averaging functionality
minor fix to ipmag.demag_magic averaging functionality

Caoimhinmg/PmagPy,Caoimhinmg/PmagPy,Caoimhinmg/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy