waves: oscillator bank fixes and optimizations