log errors during calculation of variables
Issue #65
new
at the moment these are simply set to zeros if something goes wrong, t should be able to record the exception while letting user get away with it.