Posterior contingency

Added posterior sampling for all models except hypergeometric non-independence model (we're not sure what to do yet about that model).