Text this: An Improved Wavelet Neural Network For Classification And Function Approximation