[Frederik Eaton] Added BP_Dual, BBP and CBP algorithms