Finished cleaning the code and updating GL calls to 4.4 standard. Next step is to reintegrate the position and orientation information provided by the Optitrack into the view matrix.