K-Medoids with DTW Final