Add abs_diff
function for math package
#1334
Merged
abs_diff
function for math package
#1334