New study is first step in predicting carbon emissions in ag