Clean up permutations.rs a WHOLE lot. This could actually be a release candidate, so to speak.