Added function for rotating points, not yet functional.

I'm probably making this harder than it should be...