2d version of Barycentric