Updated the error_analysis() function to the new design.
Authored by: bugman 2008-05-21
Parent: [r6227]
Child: [r6229]