Templated vector classes for use within an OpenGL implementation