I have some random number generating C code somewhere abouts if it helps. I also used it for my vector library a long time ago. I've often thought it would make the fluttering debris look more realistic instead of it all falling in perfect formation and rotating around the same fixed vector at a constant speed.
I got the algorithms / functions from Numerical Recipes in C (ISBN 0-521-43108-5.), but had to modify them to make it work correctly.