updated SGD stencil and description