Improving filtering for OpenGL

- Improved convolution for CPU and GPU
- Added mean filter for OpenGL