renamed a few functions.

using c++ 0x because of normal distribution generation.
had to change the makefile.

started the normal variable generation.. not finished.