rotate a tensor by a list of rotations
\[T_{rst} = T_{ijk} R_{ri} R_{sj} R_{tk}\]
T = rotate(T,R,varargin)