A function to generate a vector from an index-transformation vector from a permutation coding scheme
Useful links