A model for the computation of thermal expansivity at high compression and high temperatures: MGO as an example