finally put in deformation gradient