add grantham calcs, fix bug in AA dictionary