correct the error caused by negetive angle by adding a full loop to it if
the angle is neg