added histogrramm class as well as librarys from alksey