testing optimization of multinom sampling
fix bugs in multinom optimization
modify update_z
bugfix of update_z
Clean up multinom functions
fix multinom sampling
Merge branch 'multinom'