added perfect shuffle permutations, only for arrays of length a power of two.