Arithmetic functions

Basic arithmetic functions, including complex number arithmetic.