 	printf("\nTheta grad vector\n");
 	printf("---------------------\n");
 	for (i = 0; i < thetaLength; i++)
-		printf("i = %d : %f\n", i, gradVec[i]);
+		printf("i = %d : %f\n", i+1, gradVec[i]);
 
 
 

				int numberOfExamples, int visibleSize);
__global__ void compDelta3(float *y, float *a3, float *delta3, int length);
void setGradVec(int visibleSize, int hiddenSize, float *gradVec, float *hostW1grad, float *hostW2grad, float *hostb1grad, float *hostb2grad);



int main(void) {


	dim3 dimBlock(N,1);
	dim3 dimGrid(1,1);
	compDelta<<<dimGrid,dimBlock>>>(delta2, a2, N);

}

__global__ void compDelta(float *delta, float *a2, int N) {
