Investment calculator with withdrawals