Added discretization method to dataset module