Added a vertex representation. Added a class to contain math-related
utility methods.