Gauss Newton Nonlinear Least Squares