added arhcitecture for deformation gradient update, lots of mathematical commenting and cleanup work