A fast approximation to the continuous wavelet transform with applications