Updated deformation gradient algorithms.  Added Nairn's faster version.