Exhibit 10.4 AMENDED AND RESTATED MASTER REPURCHASE AGREEMENT The Master Repurchase Agreement dated as of August 10, 1994 between Thermo Electron Corporation, a Delaware corporation ("Seller"), and ThermoSpectra Corporation, a Delaware corporation...