Fixed bug. Triangle was not in 3D because the stride for glVertexAttribPointer was incorrect