Fixed a bug in NeighborhoodAngles which caused angles to be calculated in the wrong direction.