Updated ThreshCluster with refactored code, much faster, smarter
No longer putting singletons in a seperate array