code: def zero_handling(x):
      
      return np.where(x == 0, np.finfo(float).eps, x)
docs: This function handle the issue with zero values if the are exposed
      to become an argument for any log function.
      :param x: The vector.
      :return: The vector with zeros substituted with epsilon values.