Implementing a Gaussian blur filter