Thanks for the suggestions and finding the bugs. I don't have time right now but in a few hours I'll post a commented shuffling routine.