Thermal and Compositional Evolution of the Core