add weighted 2d hist calc