Histogram back projection done. Closes #478