Add implement alias sampling for Multinomials

could we make this thread safe? either with a synchronized block or by putting the alias table into a single object (so that all the parts of the alias table get updated at once.)