Now with opengl and custom vector class