return true, when input is greater a constant for more than N sampling steps
[sim, reached] = ld_greaterEpsForNSteps(sim, ev, in, thr, N)
in * - input signal
thr - threshold constant
N - integer
If in is greater than thr for more than N time steps, reached = 1;
Otherwise reached is set to 0.