azimuth_mean is almost working