Clustering Time-Series by a Novel Slope-Based Similarity Measure Considering Particle Swarm Optimization