Modified main.cpp to reflect Mesh.cpp change