Demux the level of the input signal such that the output corresponding to the input level is set to one
[sim, outlist] = ld_LevelDemux(sim, events, in, NrEvents)
in * - vector signal
outlist - list() of * with NrEvents elements
n = round(in)
outlist(m) == 1, for n=m AND outlist(m) == 0, for m != n