bp: robust marginalization, added a fold function
bp: robust marginalization, added a fold function

asubbaswamy/factorie,factorie/factorie,digitalreasoning/factorie-scala-210,malcolmgreaves/factorie,strubell/factorie,zxsted/factorie,Craigacp/factorie,joprice/factorie,pogren-oracle/factorie,hlin117/factorie,patverga/factorie,melisabok/factorie