Fixed wave code to spit balls out 1 at a time.