Adding Dan Kahl fix

Added a check for arc lengths that cross the negative x axis.