Bugfix: Randomizer was stuck in an infinite loop when matrix with onlu one cell was used.