warpRefMesh function

Creates a mesh3d object warped to the mean shape