A New Study on Distance Metrics as Similarity Measurement