Fixing the bugs with non-symmetrical images. The x and z axes are flipped by opencl, needed to account for that