functionrotate

Rotate a vector of an angle theta (anti-counterclock)