confusionMatrix function

confusionMatrix function added