permn_cols function

All permutations of the columns of a matrix