Calculate Cash Flows