Exhibit 23(d) Investment Advisory Agreement and Sub-Advisory Agreement among Maxim Series Fund, Inc., GW Capital Management, LLC and Pareto Partners INVESTMENT ADVISORY AGREEMENT