Calculate Peak Frequency