Finished opencl training kernels for first order. updated to use current ctree