Add support for inversion of waves
Loop two waves