Fix reduced chi-squared

Matches degrees of freedom now