cost_clusters_from_dissim_medoids function

Compute the cost and clusters based on an input dissimilarity matrix and medoids