Added some comments and parameters for error analysis output.