Adjusting for Autocorrelated Errors in Neural Networks for Time Series