Generates the optimal markov chains from a list of markov chains and corresponding clusters
Useful links