Changed random.choice so that it works with older numpy.