rotate() was only working with degrees

The `rotate()` function in transform.js was always converting the angle argument to radians.  I am now checking angleMode first.