Azimuth between 0 and 360

fix #838