rotation function

Rotate a set of point by a certain angle