Added SNR_calc