first commit. only contains test R script for ternary plotting. proofs
seem workable. Some folder structure for future work
Merge remote-tracking branch 'origin/master'