Simple Bayesian parameter estimator / calculator
Calculates P(A|B) = P(B|A) * P(A) / P(B)
Calculates posterior using P(B) = P(B|A)*P(A) + P(B|~A)*P(~A)