Tweaks.
Fix wave rotation bug.