3d Rotation Matrix Online