Travis,
I have had simular experiences with 5 axis gantry type milling machines. Ours had a C axis (Primary rotary axis) limits of 360 degrees +/- 1.5 degrees. If the motion exceed the limits the solution was to unwind in the opposite direction 360 degrees to the compliment tool axis vector and...