initial version of functions to compute first derivatives of splines in a gam