Updated wave_iterarion example.