Add Natural Logarithm for ruby and c++