Gauss-Newton's method