Huge bugfixes to visualizer

The visualizer was breaking on two instances:

positionScale being set to a problematic value upon counter resetting to 0
transitions were sometimes taking values out of bounds

values renamed:
sceneSelector is the current cubes[i][j].position values, which change the
geometric properties of the animation
sceneStyle modifies the rotations values, which change the appearance
within the geometry