Ternary Model Added

Added logic into the ternary free form model - needs tested, and linking
with the animation view.