Updated the extract_data() for the new relax design (converted from a class method to a function).
Authored by: bugman 2007-11-22
Parent: [r3818]
Child: [r3820]