WAIVER AND FIRST AMENDMENT TO NOTE PURCHASE AGREEMENT