https://medium.com/@monocosmo77/working-with-variational-recurrent-neural-networks-part1-machine-learning-97d6a77d8eb3