Consolidate rotation functions, allow arbitrary amounts of rotation.