added MPLP

Max-product LP relaxation inference for factor graph model.
Unit-test has been added.
Examples will be added soon.
I just went over the multi-dim array class. Do you think it's possible to combine this class with SGNDArray? For me, this class it's very general, can be viewed as a C implementation of Matlab's matrix.