History permutation/gsl_permute_matrix.h