Text this: An Improved Training Method For Wavelet Neural Networks For Solving Ordinary And Partial Differential Equations