cocg solver added for log-det