using simple one-to-one mapping for transition edges, need to implement actual transitions over the weekend. added kmeans clustering.