Stable Diffusion Implementation