Test the accuracy of the analytical Jacobian by comparing with the approximate Jacobian