added max_gap parameter to timeseries_kernel