Gadget Implementation with B matrix
Merge branch 'master' of https://github.com/raghuram87/dsvm