fixed calculation of wind direction

calculation of descriptive wind direction (e.g. NNE) failed for angle
near 360°