Fixed use of the TransitionTable class.
Fixed memory leaks in Machine::buildTransitionTable.