added code to semi neatly exit it out of mpi work loop.
Merge branch 'master' of github.com:Burke-Lauenroth-Lab/SoilWat_R_Wrapper