Issue with divide by near zero

This post explains the same problem that I ran into: 
http://compgroups.net/comp.graphics.algorithms/detail-problem-with-fitcurves.c-code/2050952

Make sure that det_C0_C1 is sufficiently greater than zero to prevent unexpected results.