added ability to turn caching off in
CachedOneVarFunction/CachedTwoVarFunction
added ability to turn caching on/off
added timing ouput to prob and expectation calculation
.