Bugfix: Make update belief use correct random number posn.