Fixed saving of NumPy files in Python
Added Py4J implementation of profile function
Corrected copyright date of new class
Tidied up code
Refactored and tidied up fit functions