Added the appropriate files to Visual Studio project and changed tgmath.h to cmath
Fixed OpenGL stackoverflow