Update wavy.c

Explain the magic