-// m : The number of different possible outcomes of the counting experiment
-// n : The observed number of different outcomes
-// p : The probabilities of the different outcomes according to the hypothesis
+// m : The number of different possible outcomes of the counting experiment
+// n : The observed number of different outcomes
+// p : The probabilities of the different outcomes according to the hypothesis
+// ndf : The returned number of degrees of freedom
+//
+// Note : Both the arrays "n" and (when provided) "p" should be of dimension "m".