i have a vector and want to transfer it to a matrix.

its a directional vector for moving localZ.

so i put it into matrix[2][0] and matrix[2][1] and matrix[2][2] //Z

so when i move localZ it goes the correct way , but it distorts the model, how can i use this vector to put figures into the

matrix[0][0] and matrix[0][1] and matrix[0][2] // X

matrix[1][0] and matrix[1][1] and matrix[1][2] //Y