Bound checking to fix a sporadic error in random exploration
Remove unneded imports
Switch from utility-function defined penalties for blocked paths, to agent-defined ones