Cleaning up stencil_kernel, adding some docs