A procedure for measuring the separate effects of man-controlled inputs and weather on yields - applied to grain sorghum yields