NF: Compute confidence intervals on binomial proportions

This should be useful for statistical evaluation of classifier
accuracies.
depending on definition of "immediate relation" I might disagree ;)  it has immediate relation to classification analyses on any data