Uniform doegenerator needed to re-start its counter each time __iter__ is called

Otherwise when you call it twice, you don't get anything the second time