Some code to render images of the gradient of the posterior with respect to each pixel value.