a bug in Beam() fixed

Abs is added in order to replace 0 by EPS in time and not to have problems with signed zero