function bonferroni( pvalues, comparisons ) {
	var pval;
	var i;
	for ( i = 0; i < pvalues.length; i++ ) {
		pval = pvalues[ i ];
		pvalues[ i ] = ( comparisons * pval > 1 ) ? 1 : comparisons * pval;
	}
	return pvalues;
}
Adjusts the p-values via the Bonferroni method.

@private
@param {ProbabilityArray} pvalues - p-values to be adjusted
@param {PositiveInteger} comparisons - number of comparisons
@returns {ProbabilityArray} adjusted p-values