Commit 1.06

Sad face since my rotate function is way too complicated. Backing it up
here in case it comes in useful later on.