change format_degrees() to round minutes

parsing 3 19' 0" would yield the formatted string 3 18' 60" which is silly.  minutes should be rounded before converted to seconds.