takes out unnecessary variables from the cube class like direction variables and sideLength. The transformations will take care of the rotations and distortions.
finally cleans up the cube class. Adds further explanatory comments.