Calculate the area of the triangle