New gram basis calc.
Merge pull request #1 from frankpermenter/dev

New gram basis calc.