mt_cluster_k function

Estimate optimal number of clusters.