Cleaning up some code in Agent.py

Organizing process_fact a bit differently, preparing it for a confidence
update.