Added a working convolution filter. However, will probably be switching to java.