Revert "AbsVal() changed to abs()"

This reverts commit 805e1261a8e940f7f26a6066cf64fd9b54eff255.