Added ChiSquareAdapter. Changed degrees of freedom to int in
CumulativeDistributionFunctionProvider interface.