Heaviside step function added to parser.js