adding code for maximal matching, divinding alleles, eigenstrat