Added support for randn in C++ code, but hackily.

Note that it uses its own seeding (from time), and only handles randn.
This is just a temporary fix before implementing random numbers properly
in a language-independent way later.