The calculations for the conjugate prior.