got the rotation, wireframe, and flat shading working