Test the various energies obtained when using rdmft to calculate solid Mg, KPT is 322