Nonlinear Least Squares Problem