updated license
fixed triangulation with loops