dfreq function

Dominant frequency of a time wave