MERRIMAC FUNDS Amendment No. 2 to MASTER TRUST AGREEMENT