AMENDED AND RESTATED NOTE AND WARRANT PURCHASE AGREEMENT, dated as of February 22, 1996