Adding approxfun