jacobian method