converts cardinal direction and degree-minutes-seconds to decimal coordinate.