Optimizing Basis Function Selection in Constructive Wavelet Neural Networks and Its Applications