History permutation/gsl_permute_uint.h