Create a function which returns an absolute value