Draws an index from the distribution in the f32vector probabilities, using the random-mtzig state state.