public void iDCT(double[][] input, double[][] output)
	{
		double total = 0.0;
		
		for(int i = 0; i < 8; i++)
		{
			for(int j = 0; j < 8; j++)
			{
				for(int u = 0; u < 8; u++)
				{
					for(int v = 0; v < 8; v++)
					{
						total += C(u) * C(v) * input[u][v] * Math.cos(((2*i + 1) * v * Math.PI)/16.0) * Math.cos(((2*j + 1) * u * Math.PI)/16.0);
					}
				}
				total /= 4.0;
				output[i][j] = total;
				total = 0.0;
			}
		}
	}