Improve SNR calculation.