Learn about the Levenberg-Marquardt algorithm for nonlinear least squares fitting.