Add common math functions
Add ETO calculation function
Add unit test cases and fix the issues found during the test
Add java doc for new methods
remove unused import
Merge pull request #16 from MengZhang/develop

Develop pull request from meng