Add most of the arithmetic and conversion functions

- Code still without tests