maxrix transpose: matrixes n*m