Fix simulator bug, incorrect use of abs in CFDBR, use fabs instead