Fleshing out L1 norm for BP
Added most of the BP code