A Model for Prediction of Crop Yield