Added some documentation for random number functions. Updated copyright.