Replace 3x3 matrix with vector(4) quartenion