Variational Lossy Autoencoder: A Guide to Understanding and Application