jacobian is templated and at higher precision