Added naive implementation of chi-squared dist