changed opengl matrices from fixed pipeline to own