double ChiSquare(double[] values, double[] expected)Returns the Chi-Square value for the values