Added code for anti-blurring in X direction. Changed unsigned long to
long in stencil related code.
Changed %lu to %ld, code to debug (1,1,3) in X anti-blur.