A Mathematical Foundation for Statistical Neurodynamics