Further algorithm fixes
Implemented own sobel gradient computation
Upgraded to the latest build