ObtainModelEstimates function

Estimating a contingency table using model-based approaches