Function barycenter

Return the barycenter of the triangle with vertices a, b, c.