Make multinomial work for iterable input
#170
Open
multinomial work for iterable input
#170