multiplication of discontinuous function by a scalar
first draft of writing output as a discontinuous function

still needs implementation of discontinuous*discontinuous