Works with asymmetric thresholds
Calculates angular differences in a reasonable way