compute_intra_batch_dispersion function

Calculate the intra batch dispersion indicator on convex hulls of a single variable