Updated to include magnitudes of frequency values