Unit
Creates a new unit with the given name and multiplier to the base unit.
Parameters
base Unit
the base unit, e.g. Meters for distances
base Unit Equivalent
the multiplier to convert this unit to the base unit of this type. For example, meters has a multiplier of 1, mm has a multiplier of 1e3, and km has multiplier of 1e-3.
name
the name of the unit. This should be a singular noun (so "Meter", not "Meters")
symbol
the short symbol for the unit, such as "m" for meters or "lb." for pounds
constructor(baseUnit: U?, toBaseConverter: UnaryFunction, fromBaseConverter: UnaryFunction, name: String, symbol: String)
Parameters
the self type, e.g. `class SomeUnit extends Unit`