bug fixes
Merge branch 'real_triples' of github.com:tjim/smpcc into real_triples