small changes on linear algebra stuff done in openGL renderer