Fixes ambiguity that drives GCC 4.6.3 crazy
Fixed a few more GCC 4.6.3 errors with ambiguous ambiguity
MAP Inference for factor graph