Fixed bug that would cause a +180 shift to be seen as a -180 shift
Fixed shift test