X2Fun function

Goodness-of-fit chi-squared statistic described by Steiger (1980).