Update report.py

Improvements to the P&L functionality, mostly.