R_RotateForViewer in F#. (partially working)