rotate.polygon function

Rotate polygon