public static double BivariateNormDistr(double x, double y) { return Math.Exp(-Math.Pow(x, 2.0) - Math.Pow(y, 2.0)); }