Gausian and Sobel edge detection algorithms (PHP PoC)