Curve fitting class based on the Simplex method in the Minimizer class
Notes on fitting polynomial functions:
(i) The range of x values should not be too far from 0, especially for higher-order polynomials.
Fit a function defined in a user plugin implementing the UserFunction interface
Use getStatus() and/or getStatusString() to see whether fitting was (probably) successful and
getParams() to access the result.