gradients and test for torsional spring
Merge pull request #226 from blandry/torsional_gradient

Gradients and test for torsional spring