refactor a bit MAPInference and add more unit-tests
Merge pull request #1581 from hushell/develop

refactor a bit MAPInference and add more unit-tests