Discretisation:
Implementing histogram class and projecting histogram to Gaussian.