Generation of multivariate time series using neural networks