Fixed Permutation bug with multiplying two permutations of different sizes
Implemented permutation stored in one 64-bit variable, 10-15% increase of speed