Changed the deprecated clCreateImage3D to clCreateImage