Detection of abnormalities in heart rate using multiple Fourier transforms