Calculating delta hf (enthalpy of formation)