.
american roulette algorithm matf