Add Spline interface. Change existing splines contructors to use a structure of arrays instead of an array of structures.