Update measureCarbon.c