Pairwise hidden markov model graph alignment PR