This ticket has a broader focus than ticket #34. Ticket #34 focuses on how the code for vertically stacked points incorrectly handles duplicate points (same X,Y,Z coordinates). This ticket focuses on the MCC algorithm itself, which is not designed to deal with duplicate points. Duplicate points will cause singular-matrix errors with the thin-plate spline calculations.
Therefore, for each set of duplicate points, only one point in the set must go through the MCC algorithm. After the algorithm finishes classifying points as ground or non-ground, the classification of the point in a set that the algorithm processed must be assigned to all the other points in the set.
Fixed in revision r166.