niced up barycentricCoordinates in MathHelper