cleaned up
added diffusion example, still need ref. criterion