add documentation and test cases to the 'exponential' namespace