get.stencil function

Return pixel values in a neighbourhood defined by a stencil