add binary to rate method, and a Gauss kernel helperlein