added Transpose fn to Matrices