Incomplete conversion to use log probabilities. P(obs) is now decreasing for some reason.