Update src/ol/spline.js to remove some restrictions on gradients