algorithm for determining cluster count and membership by stability evidence in unsupervised analysis