Exhibit 10-W MASTER REPURCHASE AGREEMENT