Replace width and height attributes with getWidth and getHeight methods in PixelBuffer.js
Basic convolution filter