Making a 2-D histogram from two different 1-D histograms