On Clustering Time Series Using Euclidean Distance and Pearson Correlation