Implicit Diffusion Models From Scratch