whv_rect function

Compute (total) weighted hypervolume given a set of rectangles