fix synapse variance and snr math