minor fix to error handling
Merge branch 'master' of github.com:acadien/matcalc