(a) In allocating receipts and disbursements to or between principal and income, and with respect to any matter within the scope of articles two and three of this chapter, a fiduciary:
(1) Shall administer a trust or estate in accordance with the terms of the trust or the will, even if there is a different provision in this chapter;