Fixed S/N calculation in continuum SN binning function.