Fix bug in mesh triangulation reported by Alexandra Zobova. 

This applies to meshes containing a face that has 5 or more edges. There were identical bugs in TriangleMesh for contact and in the code that prepares a mesh to be passed to the visualizer.

Fixes #198.