A Comparative Study on Distance Measuring Approaches for Clustering