Heron's formula for the area of a triangle