Simplified the rotation function even more.  I'm silly.