added ref scale param to fft and waterfall