updated pybasicbayes and util