pag2mag function

Transform a PAG into a MAG in the Corresponding Markov Equivalence Class