Log Message:
-----------
add some debug statements,
audit the math usage,
tweak the scrub routines to get rid of the no-root error message
(some debugging printfs remain, which I'll remove later)
Modified Files:
--------------
gnucash/src/engine:
Scrub.c
cap-gains.c
Scrub2.c