[Sebastian Nowozin] MEX file dai now also optionally returns the MAP state (only...