Time-series prediction using a local linear wavelet neural network