Understanding Stable Diffusion