A Distance for HMMs based on Aggregated Wasserstein Metric and State Registration