Derivative-free optimization by quadratic approximation based on an interface to Fortran implementations by M. J. D. Powell.