Modified pflite.PF_Item class so that the distance function will reduce
a vector distance to a scalar with a simple sum.