How do you calculate the cost basis when you switch from one share class / NAV of a mutual fund to another? I switched from Vanguard Mid Cap Index to the Admiral Shares of the same fund. I received two dividends under the old fund and then subsequently sold my entire position in the new fund.