Used sparse storage for the Jacobian