Fix broken contingency cube calculation in TrigramAssocMeasures