Text this: A New Mathematical Framework for CMOS Si Photomultiplier Detection Rates in Quantum Cryptography.