Exhibit 4(r) AMENDED AND RESTATED INVESTMENT AGREEMENT dated as of December 14, 1999