v0.1 spinpumping random, python rand, based on spinpumping