 
 
 void setPCAConstant(float* digitHost, int count) {
-	int digitSize=sizeof(float)*count*DataLen);
+	int digitSize=sizeof(float)*count*DataLen;
 	int digitPCADSize=sizeof(float)*count*Reduced_Data_Length;
 	float* digitDevice;
 	float* digitPCADevice;

	cuCheck(__LINE__);
	cudaMemcpy(distantPCAHost, distantPCAKernel, distantPCASize, cudaMemcpyDeviceToHost);
	cuCheck(__LINE__);

}



	cudaMemcpy(digitDevice, digitHost, digitSize, cudaMemcpyHostToDevice);
	cuCheck(__LINE__);

	dim3 dimGrid(ceil(Reduced_Data_Length/32.0f),ceil(count/32.0f),1);
	dim3 dimBlock(32,32,1);
	matrixMultiply_device<<<dimGrid, dimBlock>>>(digitDevice, EigenVectors, digitPCADevice, count, DataLen, DataLen, Reduced_Data_Length, count, Reduced_Data_Length);
	cudaDeviceSynchronize();
	cuCheck(__LINE__);
