Fixed co2 calculation