Removed 'pad' parameter, replaced with 'nfft'