Refactor _format_metadata
Merge pull request #1 from rhattersley/print_units

Refactor Coord._format_metadata()