Exploratory Analysis of Functional Data via Clustering and Optimal Segmentation