Vertex format refactor

closes #304