Fixed bugs, OpenCL is working OK, but still to slow.