TernaryCoords function

Convert ternary coordinates to Cartesian space