Added a function to generate gaussian noise.

      * src/main.cc: Here.
      * CMakeLists.txt: Added support for cxx11.