cant use numpy.random.choice at lisalab because numpy version is too old