History permutation/gsl_permute_matrix_int.h