Minor comments/tweaks to barycentric functions.
Generalize DOM coord value updating. Add labels.