Ratio now allows collections.Sequence as input.
Reimplemented sequencetools.rotate_sequence() in terms of Sequence.