In certain cases, due to numerical instability, the spline transform could map from within [-interval, interval] to outside it. Added clipping so that if x is within the interval, then y is clipped to be within the interval too (and the same for the inverse transform). Outside the interval, the identity transform is still used.
In certain cases, due to numerical instability, the spline transform could map from within [-interval, interval] to outside it. Added clipping so that if x is within the interval, then y is clipped to be within the interval too (and the same for the inverse transform). Outside the interval, the identity transform is still used.