Last commit before refactoring
Factoring out stopping muons from main running