Generates a spline for generate_phis - INACTIVE

gen_spline_y(x, knots, degree, theta, intercept = TRUE)