Structure and Mechanical Properties of Cement and Intermetallic Compounds via ab-initio Simulations