Understanding residual income and the compounding effect