Define method to add BodyDistance objects in vector.