Converted sim_return_chi2() to the new design.
Authored by: bugman 2008-09-26
Parent: [r7388]
Child: [r7390]