MATH: added multi-variate gaussian, moved various functions to new funct...

...ions.h

TESTS: moved gaussian and fastpow tests to gtest_functions.cc