add local feature histograms
localhist: improve performance
ffoct: add 3rd cluster ('blue'). reduce_image(im) -> reduce_image(im, k).
fix region splitting. add split tree iterators.
localhist: fix chi2 divide by 0s. add plot_blocks.