using error diffusion in time