made sample_discrete_from_log_2d_destructive more numerically robust
made sample_discrete_from_log_2d_destructive more numerically robust

fivejjs/pyhsmm,wgmueller1/pyhsmm,fivejjs/pyhsmm,theDataGeek/pyhsmm,wgmueller1/pyhsmm,fivejjs/pyhsmm,theDataGeek/pyhsmm,bikash/pyhsmm,theDataGeek/pyhsmm,fivejjs/pyhsmm,wgmueller1/pyhsmm,theDataGeek/pyhsmm,mattjj/pyhsmm,bikash/pyhsmm,bikash/pyhsmm,theDataGeek/pyhsmm,wgmueller1/pyhsmm,mattjj/pyhsmm,wgmueller1/pyhsmm,fivejjs/pyhsmm