Moved "private" functions from dose.py to simulation_calls.py