Spline simulations using x and y data