deformGrid3d now also accepts meshes