adds triangulate method for markov models [refs #174]