Basic calculator functions (add, subtract, multiply, divide, power)