Jacobian matrix added