defined Heaviside(0) as 0.5