added MPLP

Max-product LP relaxation inference for factor graph model.
Unit-test has been added.
Examples will be added soon.
Hey @iglesias We have to implement a multi-dim array here- MDArray, which has some overloading operators specifically for float type. Do you think we should merge some code here to SGNDArray?