604 Chi-squared for array