Add test for wrappers
Avoid branches in Delta, because it is ensured in C++ that
true == 1 and false == 0
Avoid another branch to help the compiler with vectorization.
(Many compilers provide a vectorized version of fabs()).