Heaviside step function constructor implemented