* @return The frequency in Hertz
	 */
	private int calculateFundamentalFrequency(Complex[] fftData){
		int index = -1;
		double max = Double.MIN_VALUE;
		for(int i = 0; i<fftData.length/2; i++){
			Complex complex = fftData[i];
			double tmp = complex.getMagnitude();
			if(tmp>max && !isHarmonic(i,index)){
				max = tmp;
				index = i;
			}
		}
		return index*getFFTBinSize(fftData.length);
	}