Correction of Jacobian Calculation