class.histogram added.
First set of functions, extracted from work at Rabobank.
First commit to the JDA package. Several functions created at Rabobank.