Refactored uint types to add input sanitization for negative inputs.