Ab Initio Computational methods for the prediction of stability, structure and properties of minerals at high pressures and high temperature conditions