Migrated away from R histogram function, part 2.
Removed old commented-out code in build_discretized_struct().
Removed old commented-out code in build_plot_matrix().
Major refactoring; now returning numerical score rather than boolean decision.