implemented 2D histogram back projection. Works well.