Fixed printCudaArray.