An improved algorithm for unknown flow rate history reconstruction with the Haar wavelet transform. (2018)