An efficient computational approach to model statistical correlations in photon counting x‐ray detectors | Synapse