Metric-based Curve Clustering and Feature Extraction in Flow Visualization