confusionMatrix function

Compute the posterior confusion matrix