Added unit conversion functionality.

Allows users to view data in their choice of unit.