opencl brent method bugs fixed