changed Signal_Noise to snr