Generic learning of TDDB applied to RRAM for improved understanding of conduction and switching mechanism through multiple filaments