Added code in compute_posteriors for diagnosed conditions