fix the algorithm to only use primitives in mast.py, and tune the longcode benchmark
Merge branch 'master' of github.com:JeremyRubin/MAST