.
american roulette algorithm pinv