Added X11 OpenCL kernel. Corrected difficulty calculations.