Algorithm 461: cubic spline solutions to a class of functional differential equations