abs_smooth function

Smooth approximation to the absolute value function