fixed indexing bug in morlet_freq_1d