First stab at calculating the HB
Fixed a bunch with infinite data