Modeling the effects of environmental factors on finished cattle