Fixed bug at generatePermutationMatrx call