Make computation of Jacobian of conserved variables wrt primitive and viceversa dimensional