The potential energy curve for the Xg+ state of Mg2 calculated with coupled pair many electron theory