new logs
minor changes to automaton.py to improve readability
create_code now rounds to -inf values below cutoff