Initial code with TopSig k-means clustering and IENX 2009 and 2010 QRELS.