Interest Calculation and Investment Allocation