Isotopologues of MgH with Partition functions