Added the 2D case for CPU
Splitting out the stencil functions from the Combinators test file.
merge