Updated both libraries to use double instead of float.

Moved everything from double to float, and made the namespace naming convention consistent with what you had done for stdduck. Also discovered issue #14, and moved rand.rand() to rand.randint() to get around this.