Update Mesh::loadMesh to work with the new format