Added unsafe multiplications of permutations
Added more debug info