Add transpose function into gt_matrix