Last minute bugfix to catch values outside of spline.

Refs #5591
Adding more intelligent range overflow handling.

Refs #5591
Merge branch 'feature/5591_cubic_spline_algorithms' into develop