Added rotate function at the CQ object level and an associated test.
Merge pull request #64 from dcowden/cq-rotate

Added rotate function at the CQ object level and an associated test