Fixes for the error_analysis() function. Replicated spectra are stored in 'cdp.replicates'.
Authored by: bugman 2008-11-28
Parent: [r8053]
Child: [r8055]