remove some commented-out debugging code
Add fix_abs()