An investigation of the use of feedforward neural networks for forecasting