Code published in Agronomy Journal, Crop Science and the Soil Science Society of America Journal