Fixing cashflows.py