Calculation of wind