Symbol: transpose_and_flatten_matrices