Modeling Crop-Livestock Integration in Mixed Farming Systems