powered by
This function takes a set of points and applies a rotation matrix (e.g. will rotate points 90 deg. if given "pi/2" as input)
rotation(x, theta)
A matrix with 2 columns of the points to rotate
The angle to apply
A matrix with 2 columns of the points' new locations