An Energy-Based Similarity Measure for Time Series. (18th November 2007)