genspline function

Generates spline basis matrices for fitting to time-course function