Nonlinear Least Square Method