AmoebaTorsionTorsionForce can calculate derivatives of the grid points automatically