Add modular arithmetic operations