spline.prep function

Prepare input for BUGS model when fitting a spline for a covariate