Calculation of Fe-C, Co-C and Ni-C phase diagrams.