Time series prediction and attractor learning by the error propagating neural network