Using Artificial Neural Networks for Timeseries Smoothing and Forecasting