HMM Similarity and Spectral Clustering

Added the code to compute the HMM similarity for a set of models.
Initial implementation was slow, needed to do some significant
optimization to make it tractable. Also added a script for performing
the spectral clustering and then conversion of a dictionary based on the
clusters.