History permutation/gsl_permute_matrix_uint.h