Fixed logLik() issues with df and rank. Fix #19