get_indices_inside_ellipsoid