An Equation of State of Periclase (MgO) and the D-layer