A SPICE Model of the $\textrm{Ta}_{2}\textrm{O}_{5}/\textrm{TaO}_\textrm{x}$ Bi-Layered RRAM