Improved Diffusion Models From Scratch