Execution Version MASTER INVESTMENT AGREEMENT