Added first pass at discretization breakpoint determination.
Fixed off-by-one bug in new discretization/breakpoint functions.
Migrated away from R histogram function usage for finer control of discretization behavior.