Updated math and rand libraries to use double.
Changed namespaces to be all lower, to follow established style, changed sample Duck programs to reflect that. rand.rand() became rand.randint() as rand.rand() seems to cause errors in Duck.
Merge pull request #15 from rpcope1/master

Updated both libraries to use double instead of float.