Updated to ignore positive transactions and consolidated KINDS and emission calculation