tf_rotate function

Create a rotation specification (for use as tf argument)