Added remainder and modulo functions using LLVM bit operations