Changed the permutation flags into an enum class, created a single enum to contain a 0-n list of the possible permutation types to more tightly pack.