Added more profiling, refactored human behaviour from explore_scenario to a separate function