Xest and rotMat fixed, one should also > output of main loop.