Statistics for Nonlinearity and Gating in Superconducting Nanowire Single Photon Detectors