Several Changes

* Fixed Pivot table issues
* Added Record Type B/BW Pnl calculation