Fixed tatonnement

Made constrainedAngularDiff take min of magnitudes of angular diffs
instead of the raw diffs