Hi,
It seems to me that EquivalenceClass, the struct/type name, has beenmisspelled as 'EquivalenceClasses' a couple of times in the comment aboveits definition.
Attached fixes that.
Thanks,Amit