Checks the consistency of dataset (probability distribution)
check_data_dist_sanity(x)
void
internal function to be documented