Converted e2 toUnit, fromUnit, and convertUnit into units library.