NaN from multinomial distribution at p=1

OK, I made issue 675.

I also had a brief look at the code but am way out of my depth!