Simple Least Squares Minimization, with flexible Parameter settings, based on scipy.optimize.leastsq