thellier_gui.py and demag_gui.py functions
Merge branch 'master' of https://github.com/ltauxe/PmagPy