Update LibDAI caller

now libDAI can be accessed from opengm again.

Notice: this requres version 0.3.1 of libDAI