Added wave up and down functions for modes, having trouble detecting them though.
Added wave up and down functions for modes, having trouble detecting them though.