A flexible characterization methodology of RRAM: Application to the modeling of the conductivity changes as synaptic weight updates. (September 2019)