replaced Li and Leal calculation with explicit chi^2