Improvements to MeshBuilder

Added more degeneracy tests