[Olena-patches] 1328: Slightly change vec, h_vec, mat to ease handling x2x transforms.