is_dominated function

Calculate which points are dominated