added calculations for wind direction