testing optimization of multinom sampling
fix bugs in multinom optimization
modify update_z
bugfix of update_z
Clean up multinom functions
Merge branch 'develop' of https://github.com/inpho/vsm into develop
fix multinom sampling