Calculate a triangle's area