fixes to analysis bugs
fixes for mol_wt usage