Sped up the animation of the shape in the MainActivity.

Fixed a bug that was incorrectly determining the initial angle for the
shape after calling Shape.rotate();