Created "stencil_" routines in gamma & new preprocessing test routine.

The building of "Gamma" has been split into several functions for
"stencils."