add a new function abssum fix the bug of test and perf because someone remove non-free module from cmakelist.txt