High performance discrete wavelet transform library