add priors to factorTables