Broke optimisation function into smaller functions.
This is to help selecting spins, do particular grid search and minimise.
Task #7826 (https://gna.org/task/index.php?7826): Write an python class for the repeated analysis of dispersion data.
Authored by: tlinnet 2014-09-08
Parent: [r25687]
Child: [r25689]