add code to calculate sufficient statistics for the blink rate parameters and fix problems related to edge-specific rate scaling factors that are zero