Modified Mesh class to allow users to specify the vertex attributes to use and their locations