interpolate_vec.RdThis is just added code to vec_fun()- need to think about better separation
of responsiblities
interpolate_vec(x, t = vec_seq_along(x))A vector to interpolate
An optional time index; if empty, interpolate_vec() will use the
index of x
A (thrice) differentiable function interpolating t and x