static float ComputeGaussian(float n, float theta) { return MathF.Exp(-n * n / (2.0f * theta * theta)) / MathF.Sqrt(2.0f * MathF.PI * theta); }