Matlab utilities for 3D meshes