Added new function coord_2d_area_triangle