Fixed all conflicts in SmartAgent due to TransitionTable Class

All changes made are marked with 'TODO' statements to be checked again
for accuracy. The code has not yet been tested and there are likely still
bugs that musty be fixed. Must still test the new setRow method in
TransitionTable.java.