added a mesh plotting helper