Add abs() method for numeric types