Modified clamp of activations to use NEAR_ZERO constant