added area function for triangles