added the beginnings of unit conversion within the Lib