Wrote a function to calculate the RDC Q-factor.
Authored by: bugman 2008-08-23
Parent: [r7226]
Child: [r7228]