MATH: moved gaussian functions, added statistics functions

old gaussian functions + new multi-variate --> functions.h
new mean and covariance computiation --> statistics.h
tests for gaussian, mean and covariance