added return statements
merged matt
Merge branch 'develop' of https://github.com/agile-geoscience/modelr into develop