improved spline logic
Merge branch '1.5' of github.com:alexandersimoes/d3plus into 1.5