The Relationship between Multidimensional Scaling and Clustering