A Crop Production and Environment Model for Long-term Consequences of Agricultural Production