Unified Large-Sample Theory of General Chi-Squared Statistics for Tests of Fit | Synapse