fixed libdai caller
Merge pull request #15 from stopfer/master

fixed libdai caller