Refactoring of conv
    conv(result, A, B);
Readded cross and cumsum