Added histogram2d.
Added pattern based erase_begin() and erase_end().
Added a more precise way to compute field areas (with 2D histogram).
Merged template_fit and template_fit_renorm into a single function.