A Review and Evaluation of Elastic Distance Functions for Time Series Clustering