rotFunct(): now ramoly flip signs ofcolumr of rotation matrix to fix control of type I error