Exhibit 10.4 AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT AGREEMENT dated as of the 30th day of June, 1995 between Thermo Electron Corporation, a Delaware corporation ("Seller"), and ThermoQuest Corporation, a Delaware corporation (the "Buyer")....