Fix a few things in precompute
quick fix
Address code review comments
Improve PyCode exception handling including emails for scheduler
Merge pull request #101 from Locu/scheduler-emails

Scheduler emails for exceptions