Added module freqspec for frequency spectrum