public static double getError(int[][] original, int[][] decomp){
		double sum = 0;
		for(int i = 0; i < original.length; i++){
			for(int j = 0; j < original.length; j++){
				sum += Math.abs(original[i][j] - decomp[i][j]);
			}
		}
		return sum / (Math.pow(original.length, 2));
	}