Update spline module to properly store x,y,z in spline structures while reading file