Updated method of computing probabilities for pbtables.
Added DB import scripts for pbtables.