simulation with spline functional parameters

created simulation with functional parameters based on splines