fixed snr plotting bug