DIANA and applications to fermion production in electron-positron annihilation