adding the adiabaticFlameTemperature function, still not fully debugged