Fixed class name in definition. Don't know how I didn't notice this was wrong before.
Added a minimum pT cut on the jets used to calculate the sums