fixed computation of the generic pairs and generic implication matrix. Data grows with new classes