implemented x- and y-sweep kernels
implemented x- and y-sweep kernels