MMS new spin fit function based on code for Cluster. This new function allows for some extra arguments compared with old version. (Periodicity of spinfit and Interval over which a spin fit is made).