A number of fixes for the __errors_repl() function.
The variance and sd structures are now correctly created, and the variances properly averaged.
Authored by: bugman 2008-12-01
Parent: [r8069]
Child: [r8071]