Introduced new type Hist2d
Removed dependency on Stats