wave difraction simulation