moved transition table to new file, beginning entropy functions