Debugged PD_concatenate and PD_decimate to eliminate jumps at joins (filtering and detrending, as well as downsampling, are now done in PD_decimate).