make the Confusion Matrix generic on the label and example/instance types