Finish basic unit support.

Still no checking of validity or effect on output
(conversion factors etc).