fixed time resampling when model is provided in the time domain
fixed time resampling when model is provided in the time domain
fixed indexing error with wavelets