Domestic and Foreign Disturbances in an Optimizing Model of Exchange- Rate Determination