bugfix: incomplete update from old way of specifying fit method.
Merge remote-tracking branch 'origin'
bugfixes, and added ability to filter sparse histograms by the number of bins containing data.