smoothing_cluster function

Smoothing by clustering (k-means)