added an exponential function and test file
some inits