Multivariate time-series modeling with generative neural networks