a bit of optimization to the pycrop model, along rith a lot of testing