Fixes for pack_data() to allow the errors to be a numpy array.
Authored by: bugman 2011-02-15
Parent: [r12522]
Child: [r12524]