Peak Frequency Calculation added