unit_standardize function

Standardize units of numeric data.