unit_conversion

added the unit_conversion function