how to calculate additional investment in accounting