Fix "Integer divide by zero 0"  in Spline.cpp

Not sure right and hard to reproduce.