added sequential kmeans