BUG: fixed a problem with logm of singular integer matrices