 
 	printf("\nPrint matrix Db2:\n");
 	printReturnedMat(visibleSize, 1, Db2);
-
+	
 	printf("\nPrint matrix tempCost:\n");
 	printReturnedMat(1, 1, tempCost);
 


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

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

	printf("---------------------------\n");
	for(i = 0; i < numberOfRows; i++) {
		for(j = 0; j < numberOfCols; j++) {
			printf("RetMat[%d,%d] = %1.3f  ", i, j, ret[IND(i,j,numberOfRows)]);
		}
		printf("\n");
	}
