Make the clustering more robust (use information matrix and/or score if available) and implement some tests of the algorithm including comparing results with Mitch Petersen's