How to calculate the cash flow from operating activities