Added convert_units(), plus mod to allow arithmetic operations on compatible units and conversion of arrays of integers.