[sim, out] = ld_RTCrossCorr(sim, events, u, shapeSig, len)
Online Cross Correlation
u * - input signal
shapeSig * - input shape
out * - output signal
len - length of input shape
Note: The implementation is not optimal. Only the raw sum formula is evaluated.