Added a discrete signal formulation that is somewhat more lucky than the one before