issue #46: add getNonStochasticLogP to Distribution so non-stochastic part of posterior can be robustly recalculated