Gravity in the Exchange Rate Factor Structure