Generative Embedding And Variational Bayesian Inference For Multivariate Time Series