Transposing matrix finished