Histograms. Made xfig node compatible. Added lodash package.