coordinates_ternary function

Ternary Coordinates