Democratic organization: A preliminary mathematical model