Added modern opengl support. Math stuff, right now it doesn't work