contingency matrices have enums to represent indices.