Added ability to rotate rectangles

I guess I didnt really have to do that but I did.