Modified Spinterface to add options for the axis of rotation.

Added options for controlling the axis of rotation (x, y, z, random
major-axis, random axis).

Added letters to the squares in the test app so that orientation can be
more easily determined.