Functions for nonlinear least squares solutions