remove rows from wave function
Merge remote-tracking branch 'origin'