Refactor modelview matrix into Mesh