Add functions to normalize an automaton: