Changed signature of `format_distance` to enable specifying "from" unit

Allow overwriting of default base unit