Swiss banks have been revered, loved, and hated for their tightly-held secrets, but Swiss bank UBS has agreed to a legal settlement with the United States government after it was revealed that the bank was operating as a willing shelter for tax evaders.