wrote M_Transpose class