Analytical Probability Distributions and EM-Learning for Deep Generative Networks