fixing a bug with the Azimuthal angle sign