add_window_l function

Add smoothing window to a longitudinal network