Added units segmented control

Added segmented control to change units
* Need to figure out how this changes the scaling factor