genspline function

Generates spline basis matrices for fitting to dose-response function