add barycentric interpolation function to Util class