fixed gauss_newton