Changed the OpenGL part and the GLSL shaders to use UBO and