matrix of the permutation (3 1 2 5)