Time Series Prediction using Mixtures of Experts