Changed rendering method to VAO and VBO