A thermodynamic description of the TiAl system