adding unit_format

This new function makes it easy to add units to the labels.