Added wave functionality
Merge remote-tracking branch 'upstream/master'