smoothing function

Apply rolling to a numeric vector.