uploaded time bin maker and wavelet decomposition function