Added diversity measure to log output