Fixed bug with segment length (so it's always odd), and changed plot labels to 'Frequency', since plots are now by dft2.
Added saving output in subdirectory, hopefully to speed up running. Added script to do peak averaged wavelet transforms, parallely.