transpose_matrix
Transposes a matrix.
matrix
The input matrix.
transposed
Resulting transposed matrix.