Updating stencil_kernel to work with conway example.