Added run method taking stim parameter so that the model can be run from launcher.py
Added _run_model method to loop through inputs and run the model