util.stats.sample_discrete(1) now works
added np.atleast_1d(distn)
Merge branch 'master' of github.com:mattjj/pymattutil