Introduce expm1 by wrapping the numpy function
Furthermore, perform some minor cosmetic changes such as streamlining the definition of the log1p function.
Furthermore, perform some minor cosmetic changes such as streamlining the definition of the log1p function.