added command line interface to find_dist_histogram