Finished chi-squared. Added to dataset.