Add Chi**2 computation to fitting.