A winfrom ChiSquared calculator