added method IsConcave, not tested yet