how to calculate carbon dioxide in phosphate beneficiation plant