imrotate function

Rotate an image along the XY plane.