Interpolation and extrapolation with the CALPHAD method