Calc Min and Max of vector elements
[sim, Min, Max] = ld_VarVec_MinMax(sim, events, in, Nvalues, vecsize)
in (float, vecsize) - vector input
out (float, vecsize) - vector output
Nvalues (int32) - the number of samples the filter is applied to (starting from the left side of the vector)