multinomializing data