smooth_ts function

Performs smoothing with the GDBN over a dataset