in process of switching vector to matrix4x4