private void writeEstimates() {

		int numInterested = NUM_INTERESTED;

		if (histogram.length >= NUM_INTERESTED) {
			numInterested = NUM_INTERESTED;
		} else if (histogram.length > 0) {
			numInterested = 1;
		} else {
			System.out.println("Nothing found!");
			return;
		}

		System.out.println("Increasing probabilities of Sa frequency (Hz):");
		/*
		 * Sort on the basis of maximum bins
		 */
		int[] temp = new int[histogram.length];
		System.arraycopy(histogram, 0, temp, 0, histogram.length);
		Arrays.sort(temp);

		int[] top = Arrays.copyOfRange(temp, temp.length-numInterested,temp.length);
		int totalCount = 0;
		for(int value : top) {
			totalCount += value;
		}
		//System.out.println(Arrays.toString(top));
		//We want indexes
		for(int value : top) {
			for(int i=0; i<histogram.length;i++) {
				if (histogram[i] == value) {
					System.out.println(getFrequencyRange(i)[0] + " - " + getFrequencyRange(i)[1] + " Score: " + round(((value*1.0/totalCount)*100),2));
					//break;
				}
			}
		}

	}