Refactor the map of vertices to an array.
Fix the consequences of map->array Vertices refactoring. Closes #6.