calculate Triangle::calc_normal() in double precision and add Polylib::get_leaf_groups().