math.combinatorics: much faster permutations, cleanup combinations code.