add UnivarDifferentiableDoubleFunction interface
add LogicalHeaviside and its tests