change snr calculation