Added log1m_exp: math, gradients, tests and doc
Added log_diff_exp: math, gradients, tests and doc