Refactored the rotation of the generalized permutation.

Removed the _gen_perm_rotated() method, and instead included a simpler
code in the __init__() method, because the old, more general method is
not used for other things anymore.