Thermodynamic calculations in quaternary transition metal systems